Skip to content

Add support for Skottie #3143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 57 commits into from
Jun 30, 2025
Merged

Add support for Skottie #3143

merged 57 commits into from
Jun 30, 2025

Conversation

wcandillon
Copy link
Contributor

No description provided.

@wcandillon wcandillon marked this pull request as ready for review June 30, 2025 12:17
@wcandillon wcandillon requested a review from Copilot June 30, 2025 12:58
@wcandillon wcandillon self-assigned this Jun 30, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for Skottie, a new animation format, by introducing new drawing commands, extending the recorder and player interfaces, and defining the associated types and factory for Skottie animations. Key changes include:

  • Adding a new drawing command (drawSkottie) in the Skia recorder commands.
  • Extending the Visitor, Recorder, ReanimatedRecorder, Player, and Core modules to handle the new Skottie node type.
  • Introducing new factory and type definitions (JsiSkottieFactory, JsiSkottieAnimation, and corresponding Skottie types) along with updates to React components and test assets.

Reviewed Changes

Copilot reviewed 47 out of 66 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/skia/src/sksg/Recorder/commands/Drawing.ts Replaces an existing fill command with a drawSkottie command that seeks and renders Skottie animations.
packages/skia/src/sksg/Recorder/* and Core.ts Extends the recorder and player logic to support the new Skottie command and NodeType.
packages/skia/src/skia/* Adds new Skottie factory, animation implementation, and updates related type exports.
packages/skia/src/renderer/* Introduces a new Skottie component and test assets for rendering Skottie animations.
packages/skia/src/skia/types/* Adds new type definitions for Skottie animations and updates related enums.

@wcandillon wcandillon merged commit aabf93b into Shopify:main Jun 30, 2025
2 of 7 checks passed
Copy link
Contributor

🎉 This PR is included in version 2.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant